﻿@if (@ViewBag.CurrentUser != null)
                       {
    <text>Welcome <strong>@ViewBag.CurrentUser.Username</strong>!
    [ @Html.ActionLink("Log Off", "LogOff", "User") ]</text>
                       }
else
{
    @:[ @Html.ActionLink("Log On", "Logon", "User") ]
}